@import "common.less";

.home-button-qrcode{
  position: absolute;
  right:11px; top:26px;
  width:24px; height:24px;
}

.home-icons-box{
  padding-top:5px;
  overflow:hidden;

  >.home-icons{
    padding-top:10px;
    background-color: white;
    >.home-icons-single{
      background-color: white;
      float:left;
      width:20%;
      padding-bottom:15px;
      text-align: center;
      >img{
        width:40px; height:40px;
        border-radius:50%;
      }
      >div{
        font-size:12px;
      }
    }
  }
}

.home-recommendGoods-box{
  overflow:hidden;
  margin-left: 5px;
  margin-right: 5px;
  >.home-recommendGoods-single1{
    display: inline-block;
    position:relative;
    width:48.8%;
    background-color:white;
    margin-bottom: 8px;
    &:nth-child(odd){
      float:left;
    }
    &:nth-child(even) {
      float:right;
    }
    >.home-recommendGoods-mallType{
      position:absolute;  top:15px; left:10px;
      width:35px; height:16px;
      color:white;  font-size:11px; text-align: center; line-height:16px;
      border-radius: 10px;
    }
    >img{
      width:100%; height:160px;
    }
    >.home-recommendGoods-info{
      padding:0 10px;
      >.info-1{
        height:35px;
        font-size:14px;
        margin-top:3px;
        line-height:1.4;
        overflow:hidden;
      }
      >.info-2{
        font-size:12px;
        color:#a7a7a7;
        margin-top:6px;
        overflow:hidden;
        >span:nth-child(1){
          float:left;
        }
        >span:nth-child(2){
          float:right;
        }
      }
      >.info-3{
        font-size:10px;
        color: #dd2b2b;
        overflow:hidden;
        >span:first-child{
          float:left;
          >span{
            font-size:16px;
          }
        }
        >span:last-child{
          float:right;
          color:#a7a7a7;
          text-decoration: line-through;
          &:before{
            content:"";
            font-size:16px;
          }
        }
      }
    }
    >.home-recommendGoods-buttons{
      position:relative;
      margin:0 10px;
      padding:15px 0 10px 0;
      clear:both;
      >span{
        width:25px; height:25px;
        background-size:100% 100%;
        border:0;
        .BSImg-active("../image/big/home_icon_collect.png", "../image/big/home_icon_collected.png",
                "../image/small/home_icon_collect.png", "../image/small/home_icon_collected.png");
      }
      >img{
        width:25px; height:25px;
      }
      >a{
        float:right;
        width:80px; height:25px;
        line-height:25px;
        background-color:#33375E;
        color:white;  font-size:14px;
        border-radius:15px;
        text-align:center;
      }
    }
  }

  >.home-recommendGoods-single2{
    display: block;
    position:relative;
    background-color:white;
    margin-bottom: 5px;
    height:135px;
    >.home-recommendGoods-mallType{
      position:absolute;  top:15px; left:10px;
      width:35px; height:16px;
      color:white;  font-size:11px; text-align: center; line-height:16px;
      border-radius: 10px;
    }
    >.single2-left{
      float:left;
      height:100%;
      width:125px;
      >img{
        height:100%;
        width:100%;
      }
    }
    >.single2-right{
      position:relative;
      overflow: hidden;
      height:100%;
      >.home-recommendGoods-info{
        padding:0 10px;
        >.info-1{
          margin-top:10px;
          font-size:14px;
          line-height:1.2;
          height:32px;
          overflow:hidden;
        }
        >.info-2{
          margin-top:10px;
          font-size:12px;
          color:#a7a7a7;
          overflow:hidden;
          >span:first-child{
            float:left;
          }
          >span:last-child{
            float:right;
          }
        }
        >.info-3{
          font-size:12px;
          color: #dd2b2b;
          overflow:hidden;
          >span:first-child{
            float:left;
            >span{
              font-size:20px;
            }
          }
          >span:last-child{
            float:right;
            color:#a7a7a7;
            text-decoration: line-through;
            &:before{
              content:" ";
              font-size:20px;
            }
          }
        }
      }
      >.home-recommendGoods-buttons{
        position:absolute;
        width:100%;
        bottom:5px;
        overflow: hidden;
        >span{
          width:25px; height:25px;
          background-size:100% 100%;
          border:0;
          margin-left:10px;
          .BSImg-active("../image/big/home_icon_collect.png", "../image/big/home_icon_collected.png",
                  "../image/small/home_icon_collect.png", "../image/small/home_icon_collected.png");
        }
        >img{
          width:25px;
          margin-left:10px;
        }
        >a{
          float:right;
          margin-right:10px;
          height:25px;
          line-height:25px;
          padding:0 10px;
          color:white;  font-size:14px;
          text-align:center;
          border-radius:15px;
          background-color:#33375E;
        }
      }
    }
  }
}

.home-tuijian{
  position:relative;
  text-align: center;
  font-size:14px;
  height:40px;
  line-height:40px;
  // padding-top: 12px;

  >.home-tuijian-bg{
    background-color: white;
    height:50px;
    line-height:50px;
    font-size:16px;
    >.home-tuijian-img{
      width:14px;
      vertical-align: middle;
    }
    >span{
      vertical-align: middle;
      margin:0 5px;
    }
    >img.home-tuijian-button{
      position:absolute;
      width:35px; height:35px;
      top:10px; right:15px;
    }
  }
}

.home-share-btn{

}

.home-activityCate{
  position: relative;
  font-size: 0;
  width: 100%;
  padding-top: 5px;
  >.home-activityCate-seckill-floor {
    box-shadow: 0 1px 1px #f2f2f2;
    background-color: #f7f7f7;
    >.home-activityCate-title-wrap {
      overflow: hidden;
      background-color: white;
      >span {
        display: block;
        width:100%;
        height: 50px;
        float: left;
        font-size: 16px;
        // font-weight: bold;
        line-height: 50px;
        text-align: center;
      }
      >img {
        width: 100%;
      }
    }
  }
}
.home-activityCate:first-child{
  padding-top: 0px;
}
.home-activityCate-seckill-new-item {
  width: 25%;
  width:110px;
  padding-left:8px;
  float: left;
}

.home-activityCate-seckill-item-img {
  width: 100%;
  position: relative;

  >.home-activityCate-seckill-photo {
    width: 100%;
    min-height:110px;
    board: 0;
  }
}


.home-activityCate-seckill-item-text {
  margin: 10px 5px 0px 5px;
  background: white;
  height: 70px;
  // text-align: center;

  .home-activityCate-seckill-good-title {
    height: 30px;
    font-size: 12px;
    line-height: 15px;
    padding-top: 0px;
    display: block;
    overflow:hidden;
  }

  >.home-activityCate-seckill-new-price {
    height: 14px;
    color: #f23030;
    font-size: 10px;
    line-height: 12px;
    padding-top: 8px;
    display: block;
    > span{
      // float: right;
      padding-right: 5px;
      font-size: 12px;
    }
    // font-weight: bold;
  }

  >.home-activityCate-seckill-original-price {
    color: #686868;
    font-size: 12px;
    line-height: 12px;
    padding-top: 10px;
    display: block;
  }
}

.home-activityCate-tuijian{
  position:relative;
  text-align: center;
  font-size:14px;
  height:40px;
  line-height:40px;

  >.home-tuijian-bg{
    background-color: white;
    height:50px;
    line-height:50px;
    font-size:16px;
    >.home-tuijian-img{
      width:14px;
      vertical-align: middle;
    }
    >span{
      vertical-align: middle;
      margin:0 5px;
    }
    >img.home-tuijian-button{
      position:absolute;
      width:35px; height:35px;
      top:16px; right:15px;
    }
  }
}
.home-graphcategory-content{
  position:relative;
  text-align: center;
  font-size:14px;
  height:80px;
  line-height:80px;

  >.home-graphcategory-content-bg{
    background-color: white;
    height:80px;
    font-size:20px;
    color:rgba(0,0,0,1);
    >.home-graphcategory-content-title{
      height:25%
    }
    >.home-tuijian-title-line{
      height:30%;
    }
    >span{
      vertical-align: middle;
      margin:0 5px;
      display: block
    }
    >img.home-graphcategory-content-button{
      position:absolute;
      display: block;
      width:35px; height:35px;
      top:16px; right:10px;
    }
  }
}
.home-graphcategory-content-slide{
  position:relative;
  text-align: center;
  font-size:18px;
  height:50px;
  line-height:50px;

  >.home-graphcategory-content-bg{
    background-color: white;
    height:50px;
    line-height: 50px;
    font-size:18px;
    color:rgba(0,0,0,1);
    >.home-tuijian-img{
      width:14px;
      vertical-align: middle;
    }
    >.home-graphcategory-content-button{
      float:right;
      padding-right:8px;
      height:22px;
      font-size:12px;
      color:#999;
    }
    >.home-graphcategory-content-title{
     float:left;
     padding-left:10px;
     font-size:15px;
     color:rgba(0,0,0,1);
    }
    >span{
      vertical-align: middle;
      margin:0 5px;
      display: block
    }
  }
}
.home-graphcategory-box{
  width:100%;
  overflow:hidden;
}
.home-graphcategory-detail-left{
  float:left;
  width:50%;
  border: none;
  >div{
       width: 100%;
    >img{
      display:block;
      max-width:100%;
    }
  }
}
.home-graphcategory-detail-right{
 float:right;
 width:50%;
 border: none;
 >div{
   width: 100%;
   >img{
     display:block;
     max-width:100%;
   }
 }
}
.home-module-gap{
  position:relative;
  text-align: center;
  font-size:14px;
  height:80px;
  line-height:80px;
  padding-top:5px;
  >.home-module-gap-bg{
    background-color: white;
    height:80px;
    font-size:20px;
    color:rgba(0,0,0,1);
    >.home-module-gap-title{
      height:25%
    }
    >.home-module-gap-line{
      height:10%;
    }
    >span{
      vertical-align: middle;
      margin:0 5px;
      display: block
    }
    >img.home-module-gap-button{
      position:absolute;
      display: block;
      width:35px; height:35px;
      top:16px; right:10px;
    }
  }
}
.seckill_goods{
  background:#ffffff;
  padding:5px;
  position:relative;
  >.goods_container{
    height:120px;
    border-bottom:1px solid #E6E6E6;
    padding:5px;
    >.goods_image{
      width:32%;
      float:left;
      height:100%;
      position:relative;
      >img{
        width:100%;
      }
    }
    >.goods_right{
      width:60%;
      float:right;
      height:100%;
      >.goods_title{
        color:#000000;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size:14px
      }
      >.goods_detail{
        padding-top:15px;
        >.goods_price{
          float:left;
          height:25px;
          width:40%;
          padding:5px;
          font-size:12px;
          color:#33375E;
          position:relative;
        }
        >.buy_button{
          float:right;
          width:70px;
          height:22px;
          color:#ffffff;
          line-height:25px;
          padding:5px;
          font-size: 12px;
          border-radius:4px;
          text-align:center
            }
        >.remind{
          background: #0684FA;
          float:right;
          width:70px;
          height:22px;
          color:#ffffff;
          line-height:25px;
          padding:5px;
          font-size: 12px;
          border-radius:4px;
          text-align:center
          }
        >.remind_active{
          border: 1px solid #0684FA;
          background: #fff;
          color: #0684FA;
          }
      }
      >.goods_sale{
        font-size:11px;
        padding-top:5px;
        color:#999999;
        >.goods_prime{
          float:left;
          padding:5px 15px;
          text-align:center;
        }
        >.goods_realprice{
          float:right;
          padding:5px;
        }
      }
    }
  }
}
.seckill-new-item{
  text-align:center;
  height: 56px;
  font-size: 18px;
  color:#ffffff;
  >div{
    color: #282831;
    line-height: 28px;
    height: 28px;
  }
  >div:first-child span{
    display: block;
    padding-top: 5px;
  }
  >div:last-child span{
    display: block;
    padding-bottom: 5px;
  }
}
